package com.platform.modules.sys.service.impl;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.platform.common.utils.JedisUtil;
import com.platform.modules.sys.dao.SysCityAreaDao;
import com.platform.modules.sys.entity.SysCityAreaEntity;
import com.platform.modules.sys.service.SysCityAreaService;

/**
 * 查询地市Service实现类
 *  SysDictService
 * @author wangLc
 */
@Service("sysCityAreaService")
public class SysCityAreaServiceImpl extends ServiceImpl<SysCityAreaDao, SysCityAreaEntity> implements SysCityAreaService {
	@Autowired
	JedisUtil jedisUtil;

	public String getNameById(String id){
		SysCityAreaEntity sysCityArea = this.getById(id);
		if(sysCityArea != null){
			return sysCityArea.getName();
		}else{
			return "";
		}
	}
}
